package com.campus.shop.service;

import com.campus.shop.controller.web.vo.UserAddressVo;
import com.campus.shop.entity.UserAddress;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 * @author xr
 * @since 2024-01-16 15:12:47
 */
public interface UserAddressService extends IService<UserAddress> {

        Boolean insertUserAddress(UserAddress userAddress);

        Boolean updateUserAddress(UserAddress userAddress);

        Boolean deleteUserAddress(Long id);

        UserAddress queryById(Long id);

        void checkAddress(UserAddressVo userAddress, Integer userId);
}

